# -*- encoding: utf-8 -*-
# @Author: SWHL
# @Contact: liekkaskono@163.com
from rapid_paraformer import RapidParaformer

config_path = "/opt/RapidASR-main/python/resources/config.yaml"

paraformer = RapidParaformer(config_path, lang="zh")

wav_path = [
    "/opt/RapidASR-main/python/test_wavs/0478_00017.wav",
    "/opt/RapidASR-main/python/test_wavs/asr_example_zh.wav",
    # "/opt/RapidASR-main/python/test_wavs/en_test1.wav",
]

print(wav_path)
result = paraformer(wav_path)
print(result)

